package com.zbcz.erp.activity

import android.os.Bundle
import com.zbcz.erp.databinding.ActivityPrivateCarPublicTrioRecordBinding
import com.zbcz.erp.util.DensityUtils
import com.zbcz.erp.util.onSingleClick

/**
 * 私车公用行程记录表
 */
class PrivateCarPublicTripRecordFormActivity : BaseActivity() {

    private lateinit var mBinding: ActivityPrivateCarPublicTrioRecordBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        mBinding = ActivityPrivateCarPublicTrioRecordBinding.inflate(layoutInflater)
        setContentView(mBinding.root)
        init()
        super.onCreate(savedInstanceState)
    }

    private fun init() {
        mBinding.clParent.setPadding(
            0,
            DensityUtils.dp2px(this, 48f),
            0,
            0
        )
        mBinding.clTitle.ivCommonBack.onSingleClick {
            finish()
        }
        mBinding.clTitle.tvTitle.text = "私车公用行程记录表"
        mBinding.tvCancel.onSingleClick{
            finish()
        }

    }
}